<html>
<head>
<title>Docs For Class itSimpleTemplate</title>
<link rel="stylesheet" type="text/css" href="../media/style.css">
</head>
<body>

<table border="0" cellspacing="0" cellpadding="0" height="48" width="100%">
  <tr>
    <td class="header_top">Intelligencer</td>
  </tr>
  <tr><td class="header_line"><img src="../media/empty.png" width="1" height="1" border="0" alt=""  /></td></tr>
  <tr>
    <td class="header_menu">
        
                                    
                              		  [ <a href="../classtrees_Intelligencer.html" class="menu">class tree: Intelligencer</a> ]
		  [ <a href="../elementindex_Intelligencer.html" class="menu">index: Intelligencer</a> ]
		  	    [ <a href="../elementindex.html" class="menu">all elements</a> ]
    </td>
  </tr>
  <tr><td class="header_line"><img src="../media/empty.png" width="1" height="1" border="0" alt=""  /></td></tr>
</table>

<table width="100%" border="0" cellpadding="0" cellspacing="0">
  <tr valign="top">
    <td width="200" class="menu">
      <b>Packages:</b><br />
              <a href="../li_Intelligencer.html">Intelligencer</a><br />
            <br /><br />
                        <b>Files:</b><br />
      	  <div class="package">
			<a href="../Intelligencer/_LibUtil---Cache---itCache.php.html">		itCache.php
		</a><br>
			<a href="../Intelligencer/_Rules---itClassRules.php.html">		itClassRules.php
		</a><br>
			<a href="../Intelligencer/_Rules---itClassRulesConvertibleI.php.html">		itClassRulesConvertibleI.php
		</a><br>
			<a href="../Intelligencer/_Rules---itComplexRules.php.html">		itComplexRules.php
		</a><br>
			<a href="../Intelligencer/_LibUtil---Exception---itException.php.html">		itException.php
		</a><br>
			<a href="../Intelligencer/_Intelligencer---itIntelligencer.php.html">		itIntelligencer.php
		</a><br>
			<a href="../Intelligencer/_itLoader.php.html">		itLoader.php
		</a><br>
			<a href="../Intelligencer/_LibUtil---Cache---itLocalCache.php.html">		itLocalCache.php
		</a><br>
			<a href="../Intelligencer/_LibUtil---Logger---itLoggerI.php.html">		itLoggerI.php
		</a><br>
			<a href="../Intelligencer/_Manager---itManager.php.html">		itManager.php
		</a><br>
			<a href="../Intelligencer/_LibUtil---Exception---itNullRulesException.php.html">		itNullRulesException.php
		</a><br>
			<a href="../Intelligencer/_LibUtil---Exception---itParameterException.php.html">		itParameterException.php
		</a><br>
			<a href="../Intelligencer/_LibUtil---Logger---itPearLogger.php.html">		itPearLogger.php
		</a><br>
			<a href="../Intelligencer/_LibUtil---Cache---itPersistentCache.php.html">		itPersistentCache.php
		</a><br>
			<a href="../Intelligencer/_LibUtil---Cache---itPersistentCacheableI.php.html">		itPersistentCacheableI.php
		</a><br>
			<a href="../Intelligencer/_Rules---itRules.php.html">		itRules.php
		</a><br>
			<a href="../Intelligencer/_Intelligencer---itRulesIntelligencer.php.html">		itRulesIntelligencer.php
		</a><br>
			<a href="../Intelligencer/_LibUtil---Scanner---itScanner.php.html">		itScanner.php
		</a><br>
			<a href="../Intelligencer/_LibUtil---Scanner---itScannerI.php.html">		itScannerI.php
		</a><br>
			<a href="../Intelligencer/_LibUtil---Scanner---itScannerResult.php.html">		itScannerResult.php
		</a><br>
			<a href="../Intelligencer/_LibUtil---Scanner---itScannerResultI.php.html">		itScannerResultI.php
		</a><br>
			<a href="../Intelligencer/_Rules---itSimpleRules.php.html">		itSimpleRules.php
		</a><br>
			<a href="../Intelligencer/_Rules---itSimpleRulesConvertibleI.php.html">		itSimpleRulesConvertibleI.php
		</a><br>
			<a href="../Intelligencer/_Template---itSimpleTemplate.php.html">		itSimpleTemplate.php
		</a><br>
			<a href="../Intelligencer/_Template---itTemplate.php.html">		itTemplate.php
		</a><br>
			<a href="../Intelligencer/_Intelligencer---itTemplateIntelligencer.php.html">		itTemplateIntelligencer.php
		</a><br>
			<a href="../Intelligencer/_LibUtil---itUtil.php.html">		itUtil.php
		</a><br>
			<a href="../Intelligencer/_Template---itZendStyleTemplate.php.html">		itZendStyleTemplate.php
		</a><br>
	  </div><br />
      
            <b>Interfaces:</b><br />
        <div class="package">
		    		<a href="../Intelligencer/itClassRulesConvertibleI.html">itClassRulesConvertibleI</a><br />
	    		<a href="../Intelligencer/itLoggerI.html">itLoggerI</a><br />
	    		<a href="../Intelligencer/itPersistentCacheableI.html">itPersistentCacheableI</a><br />
	    		<a href="../Intelligencer/itScannerI.html">itScannerI</a><br />
	    		<a href="../Intelligencer/itScannerResultI.html">itScannerResultI</a><br />
	    		<a href="../Intelligencer/itSimpleRulesConvertibleI.html">itSimpleRulesConvertibleI</a><br />
	  </div>
      
            <b>Classes:</b><br />
        <div class="package">
		    		<a href="../Intelligencer/itCache.html">itCache</a><br />
	    		<a href="../Intelligencer/itClassRules.html">itClassRules</a><br />
	    		<a href="../Intelligencer/itComplexRules.html">itComplexRules</a><br />
	    		<a href="../Intelligencer/itException.html">itException</a><br />
	    		<a href="../Intelligencer/itIntelligencer.html">itIntelligencer</a><br />
	    		<a href="../Intelligencer/itLoader.html">itLoader</a><br />
	    		<a href="../Intelligencer/itLocalCache.html">itLocalCache</a><br />
	    		<a href="../Intelligencer/itManager.html">itManager</a><br />
	    		<a href="../Intelligencer/itNullRulesException.html">itNullRulesException</a><br />
	    		<a href="../Intelligencer/itParameterException.html">itParameterException</a><br />
	    		<a href="../Intelligencer/itPearLogger.html">itPearLogger</a><br />
	    		<a href="../Intelligencer/itPersistentCache.html">itPersistentCache</a><br />
	    		<a href="../Intelligencer/itRules.html">itRules</a><br />
	    		<a href="../Intelligencer/itRulesIntelligencer.html">itRulesIntelligencer</a><br />
	    		<a href="../Intelligencer/itScanner.html">itScanner</a><br />
	    		<a href="../Intelligencer/itScannerResult.html">itScannerResult</a><br />
	    		<a href="../Intelligencer/itSimpleRules.html">itSimpleRules</a><br />
	    		<a href="../Intelligencer/itSimpleTemplate.html">itSimpleTemplate</a><br />
	    		<a href="../Intelligencer/itTemplate.html">itTemplate</a><br />
	    		<a href="../Intelligencer/itTemplateIntelligencer.html">itTemplateIntelligencer</a><br />
	    		<a href="../Intelligencer/itUtil.html">itUtil</a><br />
	    		<a href="../Intelligencer/itZendStyleTemplate.html">itZendStyleTemplate</a><br />
	  </div>
                </td>
    <td>
      <table cellpadding="10" cellspacing="0" width="100%" border="0"><tr><td valign="top">

<h1>Class: itSimpleTemplate</h1>
Source Location: /Template/itSimpleTemplate.php<br /><br />


<table width="100%" border="0">
<tr><td valign="top">

<h3><a href="#class_details">Class Overview</a></h3>
<pre><a href="../Intelligencer/itTemplate.html">itTemplate</a>
   |
   --itSimpleTemplate</pre><br />
<div class="description">Simple template idea is to replace variables in the path by the exact values and provide TemplateIntelligencer a list  of possible pathes.</div><br /><br />
<h4>Author(s):</h4>
<ul>
          <li>drapeko</li>
      </ul>




    

        
</td>

<td valign="top">
<h3><a href="#class_vars">Variables</a></h3>
<ul>
    <li><a href="../Intelligencer/itSimpleTemplate.html#var$prefix">$prefix</a></li>
    <li><a href="../Intelligencer/itSimpleTemplate.html#var$prepared">$prepared</a></li>
    <li><a href="../Intelligencer/itSimpleTemplate.html#var$preparedTemplates">$preparedTemplates</a></li>
    <li><a href="../Intelligencer/itSimpleTemplate.html#var$preparedVariables">$preparedVariables</a></li>
    <li><a href="../Intelligencer/itSimpleTemplate.html#var$template">$template</a></li>
    <li><a href="../Intelligencer/itSimpleTemplate.html#var$variables">$variables</a></li>
  </ul>
</td>

<td valign="top">
<h3><a href="#class_consts">Constants</a></h3>
<ul>
    <li><a href="../Intelligencer/itSimpleTemplate.html#constVAR_CLASS">VAR_CLASS</a></li>
    <li><a href="../Intelligencer/itSimpleTemplate.html#constVAR_LOWER_CLASS">VAR_LOWER_CLASS</a></li>
    <li><a href="../Intelligencer/itSimpleTemplate.html#constVAR_LOWER_NAMESPACE">VAR_LOWER_NAMESPACE</a></li>
    <li><a href="../Intelligencer/itSimpleTemplate.html#constVAR_NAMESPACE">VAR_NAMESPACE</a></li>
  </ul>
</td>

<td valign="top">
<h3><a href="#class_methods">Methods</a></h3>
<ul>
    <li><a href="../Intelligencer/itSimpleTemplate.html#method__construct">__construct</a></li>
    <li><a href="../Intelligencer/itSimpleTemplate.html#methodgetPath">getPath</a></li>
    <li><a href="../Intelligencer/itSimpleTemplate.html#methodgetPrefix">getPrefix</a></li>
    <li><a href="../Intelligencer/itSimpleTemplate.html#methodgetTemplate">getTemplate</a></li>
    <li><a href="../Intelligencer/itSimpleTemplate.html#methodgetVariables">getVariables</a></li>
    <li><a href="../Intelligencer/itSimpleTemplate.html#methodprepare">prepare</a></li>
    <li><a href="../Intelligencer/itSimpleTemplate.html#methodpreVariables">preVariables</a></li>
    <li><a href="../Intelligencer/itSimpleTemplate.html#methodsetPrefix">setPrefix</a></li>
    <li><a href="../Intelligencer/itSimpleTemplate.html#methodsetTemplate">setTemplate</a></li>
    <li><a href="../Intelligencer/itSimpleTemplate.html#methodsetVariables">setVariables</a></li>
  </ul>
</td>

</tr></table>
<hr />

<table width="100%" border="0"><tr>




<td valign="top">
<h3>Inherited Variables</h3>
<div class="tags">
<h4>Class: <a href="../Intelligencer/itTemplate.html">itTemplate</a></h4>
<dl>
<dt>
  <a href="../Intelligencer/itTemplate.html#var$intelligencer">itTemplate::$intelligencer</a>
  </dt>
<dd>
   
</dd>
</dl>
</div>
</td>

<td valign="top">
<h3>Inherited Methods</h3>
<div class="tags">
<h4>Class: <a href="../Intelligencer/itTemplate.html">itTemplate</a></h4>
<dl>
    <dt>
    <a href="../Intelligencer/itTemplate.html#methodgetIntelligencer">itTemplate::getIntelligencer()</a>
  </dt>
  <dd>
    Returns the Inetelligencer.
  </dd>
    <dt>
    <a href="../Intelligencer/itTemplate.html#methodgetPath">itTemplate::getPath()</a>
  </dt>
  <dd>
    Returns the location or an array of possible locations by the class name.
  </dd>
    <dt>
    <a href="../Intelligencer/itTemplate.html#methodsetIntelligencer">itTemplate::setIntelligencer()</a>
  </dt>
  <dd>
    Sets the Intelligencer.
  </dd>
  </dl>
</div>
</td>

</tr></table>
<hr />

<a name="class_details"></a>
<h3>Class Details</h3>
<div class="tags">
[line <a href="../__filesource/fsource_Intelligencer__TemplateitSimpleTemplate.php.html#a29">29</a>]<br />
Simple template idea is to replace variables in the path by the exact values and provide TemplateIntelligencer a list  of possible pathes.<br /><br /><p>namespace, class, lowernamespace, lowerclass are predefined variables that can be used without passing any values.</p><p>For example  <ol><li><div class="src-line">&nbsp;<span class="src-var">$template&nbsp;</span>=&nbsp;<span class="src-key">new&nbsp;</span><span class="src-id"><a href="../Intelligencer/itSimpleTemplate.html">itSimpleTemplate</a></span><span class="src-sym">(</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li>
<li><div class="src-line">&nbsp;<span class="src-var">$template</span><span class="src-sym">-&gt;</span><a href="../Intelligencer/itSimpleTemplate.html#methodsetPrefix">setPrefix</a><span class="src-sym">(</span><span class="src-str">'C:/project/'</span><span class="src-sym">)</span><span class="src-sym">-&gt;</span><a href="../Intelligencer/itSimpleTemplate.html#methodsetVariables">setVariables</a><span class="src-sym">(</span><span class="src-key">array</span><span class="src-sym">(</span><span class="src-str">'extension'&nbsp;</span>=&gt;&nbsp;<span class="src-key">array</span><span class="src-sym">(</span><span class="src-str">'php'</span><span class="src-sym">,&nbsp;</span><span class="src-str">'class.php'</span><span class="src-sym">)))</span><span class="src-sym">-&gt;</span><a href="../Intelligencer/itSimpleTemplate.html#methodsetTemplate">setTemplate</a><span class="src-sym">(</span><span class="src-str">'%class%.%extension%'</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li>
<li><div class="src-line">&nbsp;<span class="src-var">$template</span><span class="src-sym">-&gt;</span><a href="../Intelligencer/itSimpleTemplate.html#methodgetPath">getPath</a><span class="src-sym">(</span><span class="src-str">'Class'</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li>
</ol></p><p>The above template is valid for: C:/project/Class.php and C:/project/Class.class.php</p><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><b>author:</b>&nbsp;&nbsp;</td><td>drapeko</td>
  </tr>
</table>
</div>
</div><br /><br />
<div class="top">[ <a href="#top">Top</a> ]</div><br />

<hr />
<a name="class_vars"></a>
<h3>Class Variables</h3>
<div class="tags">
	<a name="var$prefix"></a>
	<p></p>
	<h4>$prefix = <span class="value">&nbsp;''</span></h4>
	<p>[line <a href="../__filesource/fsource_Intelligencer__TemplateitSimpleTemplate.php.html#a40">40</a>]</p>
  <br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><b>access:</b>&nbsp;&nbsp;</td><td>protected</td>
  </tr>
</table>
</div>

  <br />
	<div class="tags">
  <table border="0" cellspacing="0" cellpadding="0">
    <tr>
      <td><b>Type:</b>&nbsp;&nbsp;</td>
      <td>mixed</td>
    </tr>
      </table>
	</div><br /><br />
	<div class="top">[ <a href="#top">Top</a> ]</div><br />
	<a name="var$prepared"></a>
	<p></p>
	<h4>$prepared = <span class="value">&nbsp;false</span></h4>
	<p>[line <a href="../__filesource/fsource_Intelligencer__TemplateitSimpleTemplate.php.html#a41">41</a>]</p>
  <br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><b>access:</b>&nbsp;&nbsp;</td><td>protected</td>
  </tr>
</table>
</div>

  <br />
	<div class="tags">
  <table border="0" cellspacing="0" cellpadding="0">
    <tr>
      <td><b>Type:</b>&nbsp;&nbsp;</td>
      <td>mixed</td>
    </tr>
      </table>
	</div><br /><br />
	<div class="top">[ <a href="#top">Top</a> ]</div><br />
	<a name="var$preparedTemplates"></a>
	<p></p>
	<h4>$preparedTemplates = <span class="value">array()</span></h4>
	<p>[line <a href="../__filesource/fsource_Intelligencer__TemplateitSimpleTemplate.php.html#a37">37</a>]</p>
  <br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><b>access:</b>&nbsp;&nbsp;</td><td>protected</td>
  </tr>
</table>
</div>

  <br />
	<div class="tags">
  <table border="0" cellspacing="0" cellpadding="0">
    <tr>
      <td><b>Type:</b>&nbsp;&nbsp;</td>
      <td>mixed</td>
    </tr>
      </table>
	</div><br /><br />
	<div class="top">[ <a href="#top">Top</a> ]</div><br />
	<a name="var$preparedVariables"></a>
	<p></p>
	<h4>$preparedVariables = <span class="value">array()</span></h4>
	<p>[line <a href="../__filesource/fsource_Intelligencer__TemplateitSimpleTemplate.php.html#a39">39</a>]</p>
  <br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><b>access:</b>&nbsp;&nbsp;</td><td>protected</td>
  </tr>
</table>
</div>

  <br />
	<div class="tags">
  <table border="0" cellspacing="0" cellpadding="0">
    <tr>
      <td><b>Type:</b>&nbsp;&nbsp;</td>
      <td>mixed</td>
    </tr>
      </table>
	</div><br /><br />
	<div class="top">[ <a href="#top">Top</a> ]</div><br />
	<a name="var$template"></a>
	<p></p>
	<h4>$template = <span class="value">&nbsp;null</span></h4>
	<p>[line <a href="../__filesource/fsource_Intelligencer__TemplateitSimpleTemplate.php.html#a36">36</a>]</p>
  <br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><b>access:</b>&nbsp;&nbsp;</td><td>protected</td>
  </tr>
</table>
</div>

  <br />
	<div class="tags">
  <table border="0" cellspacing="0" cellpadding="0">
    <tr>
      <td><b>Type:</b>&nbsp;&nbsp;</td>
      <td>mixed</td>
    </tr>
      </table>
	</div><br /><br />
	<div class="top">[ <a href="#top">Top</a> ]</div><br />
	<a name="var$variables"></a>
	<p></p>
	<h4>$variables = <span class="value">array()</span></h4>
	<p>[line <a href="../__filesource/fsource_Intelligencer__TemplateitSimpleTemplate.php.html#a38">38</a>]</p>
  <br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><b>access:</b>&nbsp;&nbsp;</td><td>protected</td>
  </tr>
</table>
</div>

  <br />
	<div class="tags">
  <table border="0" cellspacing="0" cellpadding="0">
    <tr>
      <td><b>Type:</b>&nbsp;&nbsp;</td>
      <td>mixed</td>
    </tr>
      </table>
	</div><br /><br />
	<div class="top">[ <a href="#top">Top</a> ]</div><br />
</div><br />

<hr />
<a name="class_methods"></a>
<h3>Class Methods</h3>
<div class="tags">

  <hr />
	<a name="method__construct"></a>
	<h3>constructor __construct <span class="smalllinenumber">[line <a href="../__filesource/fsource_Intelligencer__TemplateitSimpleTemplate.php.html#a54">54</a>]</span></h3>
	<div class="function">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>itSimpleTemplate __construct(
[string
$template = null], [
$variables = array()])</code>
    </td></tr></table>
    </td></tr></table><br />
	
		Constructor can accepts the template and an array of variables<br /><br /><p>Example  <ol><li><div class="src-line">&nbsp;<span class="src-var">$simple&nbsp;</span>=&nbsp;<span class="src-key">new&nbsp;</span><span class="src-id"><a href="../Intelligencer/itSimpleTemplate.html">itSimpleTemplate</a></span><span class="src-sym">(</span><span class="src-str">'/home/drapeko/%namespace%/%class%.%ext%'</span><span class="src-sym">,&nbsp;</span><span class="src-key">array</span><span class="src-sym">(</span><span class="src-str">'ext'&nbsp;</span>=&gt;&nbsp;<span class="src-key">array</span><span class="src-sym">(</span><span class="src-str">'php'</span><span class="src-sym">,&nbsp;</span><span class="src-str">'class.php'</span><span class="src-sym">)))</span><span class="src-sym">;</span></div></li>
</ol></p><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><b>access:</b>&nbsp;&nbsp;</td><td>public</td>
  </tr>
</table>
</div>
<br /><br />

	
        <h4>Parameters:</h4>
    <div class="tags">
    <table border="0" cellspacing="0" cellpadding="0">
          <tr>
        <td class="type">string&nbsp;&nbsp;</td>
        <td><b>$template</b>&nbsp;&nbsp;</td>
        <td>null</td>
      </tr>
          <tr>
        <td class="type">array&nbsp;&nbsp;</td>
        <td><b>$variables</b>&nbsp;&nbsp;</td>
        <td>array()</td>
      </tr>
        </table>
    </div><br />
        <div class="top">[ <a href="#top">Top</a> ]</div>
  </div>
  <hr />
	<a name="methodgetPath"></a>
	<h3>method getPath <span class="smalllinenumber">[line <a href="../__filesource/fsource_Intelligencer__TemplateitSimpleTemplate.php.html#a166">166</a>]</span></h3>
	<div class="function">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>string getPath(
string
$className)</code>
    </td></tr></table>
    </td></tr></table><br />
	
		Returns an array of possible locations according to the className and user defined variables<br /><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><b>access:</b>&nbsp;&nbsp;</td><td>public</td>
  </tr>
</table>
</div>
<br /><br />

	Overrides <a href="../Intelligencer/itTemplate.html#methodgetPath">itTemplate::getPath()</a> (Returns the location or an array of possible locations by the class name.)<br /><br />
        <h4>Parameters:</h4>
    <div class="tags">
    <table border="0" cellspacing="0" cellpadding="0">
          <tr>
        <td class="type">string&nbsp;&nbsp;</td>
        <td><b>$className</b>&nbsp;&nbsp;</td>
        <td></td>
      </tr>
        </table>
    </div><br />
        <div class="top">[ <a href="#top">Top</a> ]</div>
  </div>
  <hr />
	<a name="methodgetPrefix"></a>
	<h3>method getPrefix <span class="smalllinenumber">[line <a href="../__filesource/fsource_Intelligencer__TemplateitSimpleTemplate.php.html#a84">84</a>]</span></h3>
	<div class="function">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>string getPrefix(
)</code>
    </td></tr></table>
    </td></tr></table><br />
	
		Returns the prefix<br /><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><b>access:</b>&nbsp;&nbsp;</td><td>public</td>
  </tr>
</table>
</div>
<br /><br />

	
        <div class="top">[ <a href="#top">Top</a> ]</div>
  </div>
  <hr />
	<a name="methodgetTemplate"></a>
	<h3>method getTemplate <span class="smalllinenumber">[line <a href="../__filesource/fsource_Intelligencer__TemplateitSimpleTemplate.php.html#a131">131</a>]</span></h3>
	<div class="function">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>string getTemplate(
)</code>
    </td></tr></table>
    </td></tr></table><br />
	
		Returns the template string<br /><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><b>access:</b>&nbsp;&nbsp;</td><td>public</td>
  </tr>
</table>
</div>
<br /><br />

	
        <div class="top">[ <a href="#top">Top</a> ]</div>
  </div>
  <hr />
	<a name="methodgetVariables"></a>
	<h3>method getVariables <span class="smalllinenumber">[line <a href="../__filesource/fsource_Intelligencer__TemplateitSimpleTemplate.php.html#a157">157</a>]</span></h3>
	<div class="function">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>array getVariables(
)</code>
    </td></tr></table>
    </td></tr></table><br />
	
		Returns the user defiend variables<br /><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><b>access:</b>&nbsp;&nbsp;</td><td>public</td>
  </tr>
</table>
</div>
<br /><br />

	
        <div class="top">[ <a href="#top">Top</a> ]</div>
  </div>
  <hr />
	<a name="methodprepare"></a>
	<h3>method prepare <span class="smalllinenumber">[line <a href="../__filesource/fsource_Intelligencer__TemplateitSimpleTemplate.php.html#a88">88</a>]</span></h3>
	<div class="function">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>void prepare(
)</code>
    </td></tr></table>
    </td></tr></table><br />
	
		<br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><b>access:</b>&nbsp;&nbsp;</td><td>protected</td>
  </tr>
</table>
</div>
<br /><br />

	
        <div class="top">[ <a href="#top">Top</a> ]</div>
  </div>
  <hr />
	<a name="methodpreVariables"></a>
	<h3>method preVariables <span class="smalllinenumber">[line <a href="../__filesource/fsource_Intelligencer__TemplateitSimpleTemplate.php.html#a62">62</a>]</span></h3>
	<div class="function">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>void preVariables(
[
$variables = array()])</code>
    </td></tr></table>
    </td></tr></table><br />
	
		<br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><b>access:</b>&nbsp;&nbsp;</td><td>protected</td>
  </tr>
</table>
</div>
<br /><br />

	
        <h4>Parameters:</h4>
    <div class="tags">
    <table border="0" cellspacing="0" cellpadding="0">
          <tr>
        <td class="type">array&nbsp;&nbsp;</td>
        <td><b>$variables</b>&nbsp;&nbsp;</td>
        <td></td>
      </tr>
        </table>
    </div><br />
        <div class="top">[ <a href="#top">Top</a> ]</div>
  </div>
  <hr />
	<a name="methodsetPrefix"></a>
	<h3>method setPrefix <span class="smalllinenumber">[line <a href="../__filesource/fsource_Intelligencer__TemplateitSimpleTemplate.php.html#a75">75</a>]</span></h3>
	<div class="function">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code><a href="../Intelligencer/itTemplate.html">itTemplate</a> setPrefix(
[string
$prefix = ''])</code>
    </td></tr></table>
    </td></tr></table><br />
	
		Sets the prefix to the path (path base)<br /><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><b>return:</b>&nbsp;&nbsp;</td><td>itself</td>
  </tr>
  <tr>
    <td><b>access:</b>&nbsp;&nbsp;</td><td>public</td>
  </tr>
</table>
</div>
<br /><br />

	
        <h4>Parameters:</h4>
    <div class="tags">
    <table border="0" cellspacing="0" cellpadding="0">
          <tr>
        <td class="type">string&nbsp;&nbsp;</td>
        <td><b>$prefix</b>&nbsp;&nbsp;</td>
        <td></td>
      </tr>
        </table>
    </div><br />
        <div class="top">[ <a href="#top">Top</a> ]</div>
  </div>
  <hr />
	<a name="methodsetTemplate"></a>
	<h3>method setTemplate <span class="smalllinenumber">[line <a href="../__filesource/fsource_Intelligencer__TemplateitSimpleTemplate.php.html#a121">121</a>]</span></h3>
	<div class="function">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code><a href="../Intelligencer/itTemplate.html">itTemplate</a> setTemplate(

$template)</code>
    </td></tr></table>
    </td></tr></table><br />
	
		Sets the template string.<br /><br /><p>Example  <ol><li><div class="src-line">&nbsp;<span class="src-var">$t&nbsp;</span>=&nbsp;<span class="src-key">new&nbsp;</span><span class="src-id"><a href="../Intelligencer/itSimpleTemplate.html">itSimpleTemplate</a></span><span class="src-sym">(</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li>
<li><div class="src-line">&nbsp;<span class="src-var">$t</span><span class="src-sym">-&gt;</span><a href="../Intelligencer/itSimpleTemplate.html#methodsetTemplate">setTemplate</a><span class="src-sym">(</span><span class="src-str">'/home/drapeko/%namespace%/%class%.%ext%'</span><span class="src-sym">)</span></div></li>
</ol></p><p>Variables are marked with '%' from both sides.</p><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><b>return:</b>&nbsp;&nbsp;</td><td>itself</td>
  </tr>
  <tr>
    <td><b>access:</b>&nbsp;&nbsp;</td><td>public</td>
  </tr>
</table>
</div>
<br /><br />

	
        <h4>Parameters:</h4>
    <div class="tags">
    <table border="0" cellspacing="0" cellpadding="0">
          <tr>
        <td class="type">&nbsp;&nbsp;</td>
        <td><b>$template</b>&nbsp;&nbsp;</td>
        <td></td>
      </tr>
        </table>
    </div><br />
        <div class="top">[ <a href="#top">Top</a> ]</div>
  </div>
  <hr />
	<a name="methodsetVariables"></a>
	<h3>method setVariables <span class="smalllinenumber">[line <a href="../__filesource/fsource_Intelligencer__TemplateitSimpleTemplate.php.html#a147">147</a>]</span></h3>
	<div class="function">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code><a href="../Intelligencer/itTemplate.html">itTemplate</a> setVariables(

$variables)</code>
    </td></tr></table>
    </td></tr></table><br />
	
		Sets the array of user variables<br /><br /><p>Example  <ol><li><div class="src-line">&nbsp;&nbsp;<span class="src-var">$t</span><span class="src-sym">-&gt;</span><a href="../Intelligencer/itSimpleTemplate.html#methodsetVariables">setVariables</a><span class="src-sym">(</span><span class="src-key">array</span><span class="src-sym">(</span></div></li>
<li><div class="src-line">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="src-str">'ext'&nbsp;</span>=&gt;&nbsp;<span class="src-key">array</span><span class="src-sym">(</span><span class="src-str">'php,&nbsp;'</span><span class="src-id">txt</span><span class="src-str">'),</span></div></li>
<li><div class="src-line"><span class="src-str">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'</span><a href="http://www.php.net/dir">dir</a><span class="src-str">'&nbsp;=&gt;&nbsp;array('</span><span class="src-id">Project1</span><span class="src-str">',&nbsp;'</span><span class="src-id">Project2</span>')</div></li>
<li><div class="src-line">&nbsp;&nbsp;));</div></li>
</ol></p><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><b>return:</b>&nbsp;&nbsp;</td><td>itself</td>
  </tr>
  <tr>
    <td><b>access:</b>&nbsp;&nbsp;</td><td>public</td>
  </tr>
</table>
</div>
<br /><br />

	
        <h4>Parameters:</h4>
    <div class="tags">
    <table border="0" cellspacing="0" cellpadding="0">
          <tr>
        <td class="type">array&nbsp;&nbsp;</td>
        <td><b>$variables</b>&nbsp;&nbsp;</td>
        <td></td>
      </tr>
        </table>
    </div><br />
        <div class="top">[ <a href="#top">Top</a> ]</div>
  </div>
</div><br />

<hr />
<a name="class_consts"></a>
<h3>Class Constants</h3>
<div class="tags">
	<a name="constVAR_CLASS"></a>
	<p></p>
	<h4>VAR_CLASS = <span class="value">&nbsp;'%class%'</span></h4>
	<p>[line <a href="../__filesource/fsource_Intelligencer__TemplateitSimpleTemplate.php.html#a32">32</a>]</p>
  
  <br />
	<div class="top">[ <a href="#top">Top</a> ]</div><br />
	<a name="constVAR_LOWER_CLASS"></a>
	<p></p>
	<h4>VAR_LOWER_CLASS = <span class="value">&nbsp;'%lowerclass%'</span></h4>
	<p>[line <a href="../__filesource/fsource_Intelligencer__TemplateitSimpleTemplate.php.html#a34">34</a>]</p>
  
  <br />
	<div class="top">[ <a href="#top">Top</a> ]</div><br />
	<a name="constVAR_LOWER_NAMESPACE"></a>
	<p></p>
	<h4>VAR_LOWER_NAMESPACE = <span class="value">&nbsp;'%lowernamespace%'</span></h4>
	<p>[line <a href="../__filesource/fsource_Intelligencer__TemplateitSimpleTemplate.php.html#a33">33</a>]</p>
  
  <br />
	<div class="top">[ <a href="#top">Top</a> ]</div><br />
	<a name="constVAR_NAMESPACE"></a>
	<p></p>
	<h4>VAR_NAMESPACE = <span class="value">&nbsp;'%namespace%'</span></h4>
	<p>[line <a href="../__filesource/fsource_Intelligencer__TemplateitSimpleTemplate.php.html#a31">31</a>]</p>
  
  <br />
	<div class="top">[ <a href="#top">Top</a> ]</div><br />
</div><br />

        <div class="credit">
		    <hr />
		    Documentation generated on Sat, 24 Apr 2010 17:13:17 +0100 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
	      </div>
      </td></tr></table>
    </td>
  </tr>
</table>

</body>
</html>